]> dgit.raspbian.org Git - gnome-shell.git/commit
ScreenShield: try harder to become modal, and catch failures
authorGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 26 Nov 2012 19:18:57 +0000 (20:18 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Wed, 13 Feb 2013 16:46:39 +0000 (17:46 +0100)
commit4dc954032551894a15cafd3ea72255dfca162122
treee925271faf2d7dad1d5d8e38025a9a3104e4940c
parent2b1a661614186453e6565806f6cdf59126f8ed6f
ScreenShield: try harder to become modal, and catch failures

The screenshield was not checking the return value of pushModal(), meaning
that it believed it was fully locked when it was not. Later, calling
popModal() would fail, causing an exception and blocking the unlock.
Now when we fail we include an explanatory message, pointing the user
to the actual cause of the issue.

https://bugzilla.gnome.org/show_bug.cgi?id=689106
js/ui/screenShield.js